﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
     class sum:Calculate
    {
        public sum(int a ,int b)
            :base(a,b)
        { 
             
        }
        public override void DisplayResult()
        {
            int sum=0;
            sum = a + b;
            Console.WriteLine(sum);
        }
    }
}
